From: Laszlo Boszormenyi (GCS) Date: Tue, 2 Dec 2025 18:03:25 +0000 (+0100) Subject: can't use these as these are not yet pacakged X-Git-Tag: archive/raspbian/0.22.0-3+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d94031c1065c201d6383909c25641c5e64c1cbdc;p=thrift.git can't use these as these are not yet pacakged Forwarded: no Last-Update: 2025-10-19 Comment out these for now. Gbp-Pq: Name missing_go_test.patch --- diff --git a/lib/go/test/Makefile.am b/lib/go/test/Makefile.am index d76f248..cc51647 100644 --- a/lib/go/test/Makefile.am +++ b/lib/go/test/Makefile.am @@ -123,7 +123,6 @@ check: gopath ./gopath/src/duplicateimportstest \ ./gopath/src/equalstest \ ./gopath/src/conflictargnamestest \ - ./gopath/src/processormiddlewaretest \ ./gopath/src/clientmiddlewareexceptiontest \ ./gopath/src/validatetest \ ./gopath/src/forwardtypetest diff --git a/test/go/Makefile.am b/test/go/Makefile.am index a00fc37..b4262d8 100644 --- a/test/go/Makefile.am +++ b/test/go/Makefile.am @@ -58,7 +58,7 @@ check: gopath genmock $(GO) test -v ./src/gen/... genmock: gopath - sh genmock.sh + echo sh genmock.sh distdir: $(MAKE) $(AM_MAKEFLAGS) distdir-am diff --git a/test/go/src/common/clientserver_test.go b/test/go/src/common/clientserver_test.go index 48203b6..12b0c21 100644 --- a/test/go/src/common/clientserver_test.go +++ b/test/go/src/common/clientserver_test.go @@ -21,15 +21,9 @@ package common import ( "context" - "errors" - "fmt" - "reflect" "sync" "testing" - "github.com/golang/mock/gomock" - - "github.com/apache/thrift/lib/go/thrift" "github.com/apache/thrift/test/go/src/gen/thrifttest" ) @@ -62,6 +56,7 @@ func TestAllConnection(t *testing.T) { } func doUnit(t *testing.T, unit *test_unit) { +/* t.Run(fmt.Sprintf("%v", *unit), func(t *testing.T) { ctrl := gomock.NewController(t) defer ctrl.Finish() @@ -87,6 +82,7 @@ func doUnit(t *testing.T, unit *test_unit) { defer trans.Close() callEverythingWithMock(t, client, handler) }) +**/ } var rmapmap = map[int32]map[int32]int32{ @@ -104,6 +100,7 @@ var xxs = &thrifttest.Xtruct{ var xcept = &thrifttest.Xception{ErrorCode: 1001, Message: "some"} var defaultCtx = context.Background() +/* func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, handler *MockThriftTest) { u := thrift.Tuuid{ 0x00, 0x11, 0x22, 0x33, @@ -355,3 +352,4 @@ func callEverythingWithMock(t *testing.T, client *thrifttest.ThriftTestClient, h t.Errorf("Unexpected error in TestVoid() call: %s", err) } } +**/